Skip Headers

Oracle® Data Provider for .NET Developer's Guide 10g Release 2 (10.2) Part Number B14307-01 |
Home | Book List | Contents | Index | Master Index | Feedback

Previous | Next
| View PDF

# OracleRowUpdatingEventArgs Class

The `OracleRowUpdatingEventArgs` class provides event data for the `OracleDataAdapter.RowUpdating` event.

Class Inheritance

`Object`

`EventArgs`

`RowUpdatingEventArgs`

`OracleRowUpdatingEventArgs`

Declaration

    // C#
    public sealed class OracleRowUpdatingEventArgs : RowUpdatingEventArgs

Thread Safety

All public static methods are thread-safe, although instance methods do not guarantee thread safety.

Example

The example for the `RowUpdated` event shows how to use `OracleRowUpdatingEventArgs`. See `RowUpdated` event "Example".

Requirements

Namespace: `Oracle.DataAccess.Client`

Assembly: `Oracle.DataAccess.dll`

See Also: "Oracle.DataAccess.Client Namespace" OracleRowUpdatingEventArgs Members OracleRowUpdatingEventArgs Constructor OracleRowUpdatingEventArgs Static Methods OracleRowUpdatingEventArgs Properties OracleRowUpdatingEventArgs Public Methods "OracleDataAdapter Class"

## OracleRowUpdatingEventArgs Members

`OracleRowUpdatingEventArgs` members are listed in the following tables:

OracleRowUpdatingEventArgs Constructors

`OracleRowUpdatingEventArgs` constructors are listed in Table 5-89.

Table 5-89 OracleRowUpdatingEventArgs Constructors

Constructor | Description
--- | ---
OracleRowUpdatingEventArgs Constructor | Instantiates a new instance of `OracleRowUpdatingEventArgs` class (Overloaded)

OracleRowUpdatingEventArgs Static Methods

The `OracleRowUpdatingEventArgs` static methods are listed in Table 5-90.

Table 5-90 OracleRowUpdatingEventArgs Static Methods

Methods | Description
--- | ---
`Equals` | Inherited from `Object` (Overloaded)

OracleRowUpdatingEventArgs Properties

The `OracleRowUpdatingEventArgs` properties are listed in Table 5-91.

Table 5-91 OracleRowUpdatingEventArgs Properties

Name | Description
--- | ---
Command | Specifies the `OracleCommand` that is used when the `OracleDataAdapter.Update()` is called
`Errors` | Inherited from `RowUpdatingEventArgs`
`Row` | Inherited from `RowUpdatingEventArgs`
`StatementType` | Inherited from `RowUpdatingEventArgs`
`Status` | Inherited from `RowUpdatingEventArgs`
`TableMapping` | Inherited from `RowUpdatingEventArgs`

OracleRowUpdatingEventArgs Public Methods

The `OracleRowUpdatingEventArgs` public methods are listed in Table 5-92.

Table 5-92 OracleRowUpdatingEventArgs Public Methods

Name | Description
--- | ---
`Equals` | Inherited from `Object` (Overloaded)
`GetHashCode` | Inherited from `Object`
`GetType` | Inherited from `Object`
`ToString` | Inherited from `Object`

See Also: "Oracle.DataAccess.Client Namespace" OracleRowUpdatingEventArgs Class

## OracleRowUpdatingEventArgs Constructor

The `OracleRowUpdatingEventArgs` constructor creates a new instance of the `OracleRowUpdatingEventArgs` class using the supplied data row, `IDbCommand`, type of SQL statement, and table mapping.

Declaration

    // C#
    public OracleRowUpdatingEventArgs(DataRow row, IDbCommand command,
        StatementType statementType, DataTableMapping tableMapping);

Parameters

- `row`

  The `DataRow` sent for `Update`.

- `command`

  The `IDbCommand` executed during the `Update`.

- `statementType`

  The `StatementType` enumeration value indicating the type of SQL statement executed.

- `tableMapping`

  The `DataTableMapping` used for the `Update`.

See Also: "Oracle.DataAccess.Client Namespace" OracleRowUpdatingEventArgs Class OracleRowUpdatingEventArgs Members

## OracleRowUpdatingEventArgs Static Methods

The `OracleRowUpdatingEventArgs` static method is listed in Table 5-93.

Table 5-93 OracleRowUpdatingEventArgs Static Method

Method | Description
--- | ---
`Equals` | Inherited from `Object` (Overloaded)

See Also: "Oracle.DataAccess.Client Namespace" OracleRowUpdatingEventArgs Class OracleRowUpdatingEventArgs Members

## OracleRowUpdatingEventArgs Properties

The `OracleRowUpdatingEventArgs` properties are listed in Table 5-94.

Table 5-94 OracleRowUpdatingEventArgs Properties

Name | Description
--- | ---
Command | Specifies the `OracleCommand` that is used when the `OracleDataAdapter.Update()` is called
`Errors` | Inherited from `RowUpdatingEventArgs`
`Row` | Inherited from `RowUpdatingEventArgs`
`StatementType` | Inherited from `RowUpdatingEventArgs`
`Status` | Inherited from `RowUpdatingEventArgs`
`TableMapping` | Inherited from `RowUpdatingEventArgs`

See Also: "Oracle.DataAccess.Client Namespace" OracleRowUpdatingEventArgs Class OracleRowUpdatingEventArgs Members

### Command

This property specifies the `OracleCommand` that is used when the `OracleDataAdapter.Update()` is called.

Declaration

    // C#
    public new OracleCommand Command {get; set;}

Property Value

The `OracleCommand` executed when `Update` is called.

See Also: "Oracle.DataAccess.Client Namespace" OracleRowUpdatingEventArgs Class OracleRowUpdatingEventArgs Members

## OracleRowUpdatingEventArgs Public Methods

The `OracleRowUpdatingEventArgs` public methods are listed in Table 5-95.

Table 5-95 OracleRowUpdatingEventArgs Public Methods

Name | Description
--- | ---
`Equals` | Inherited from `Object` (Overloaded)
`GetHashCode` | Inherited from `Object`
`GetType` | Inherited from `Object`
`ToString` | Inherited from `Object`

See Also: "Oracle.DataAccess.Client Namespace" OracleRowUpdatingEventArgs Class OracleRowUpdatingEventArgs Members